﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Facebook.Service.Core;
using Facebook.Service;
using Microsoft.Practices.EnterpriseLibrary.PolicyInjection;
using Microsoft.Practices.EnterpriseLibrary.Logging;

namespace FriendsNearby.Services.Facebook
{
    public class FacebookServiceFactory 
    {
        FacebookService storedService = null;
        DataAccess da;

        public FacebookServiceFactory()
        {
            da = PolicyInjection.Create<DataAccess>();
        }

        #region IFacebookSessionFactory Members


        public void RegisterKnownSession(FacebookSession session)
        {
            storedService = new FacebookService(session);
        }

        #endregion
    }
}
